let BASE_URL = ''

if (process.env.NODE_ENV == 'development') {
	BASE_URL = 'http://39.104.66.177:8084' // 测试环境
} else {
	// #ifdef APP-PLUS || MP-WEIXIN
	BASE_URL = 'https://t.8612345.cn' // 生产环境
	// #endif
}
let staticDomainURL = BASE_URL + '/jeecg-boot/';

let appName = 'dmwh';
// #ifdef APP-PLUS || MP-WEIXIN
appName = BASE_URL == 'https://q.8612345.cn' ? 'tsb' : 'dmwh';
// #endif
// #ifdef H5
appName = (window.location.host == 'q.8612345.cn') ? 'tsb' : 'dmwh';
// #endif
const configService = {
	apiUrl: BASE_URL,
	shareUrl: BASE_URL,
	staticDomainURL: staticDomainURL,
	app: appName,
	appid: "wxa33a7d81c9bf646a",
	uploadImgUrl: "https://t231.whssme.cn/upload/sanpingimgloadtin.php",
	uploadFileUrl: BASE_URL + "/jeecg-boot/app/common/upload"
};

export default configService